﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace MYSQL_db.Mwcard
{
    class DataBindingDevStatus:INotifyPropertyChanged
    {
        public string devflag;//读写器连接断开标识 
        public string DevFlag
        {
            get
            {
                return devflag;
            }
            set
            {
                this.devflag = value;
                if (PropertyChanged != null) //如果有在监控对象就不为空，后台改变前台就改变
                {
                    PropertyChanged(this, new PropertyChangedEventArgs("DevFlag")); //
                }
            }
        }
        public event PropertyChangedEventHandler PropertyChanged; //接口中是唯一内容（一个事件）
    }
}
